import http from '../utils/http'

//通过并发请求获取首页的数据 提升页面的渲染速度
export const reqIndexData = () => {
  return http.all(
    http.get('/index/findBanner'),
    http.get('/index/findCategory1'),
    http.get('/index/advertisement'),
    http.get('/index/findListGoods'),
    http.get('/index/findRecommendGoods')
  )
}
